package com.liuhaoqi.raletiveblog.result.business.PageResult;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.liuhaoqi.raletiveblog.result.Page;

import java.util.Date;

/**
 * @Author liuhaoqi
 * @Date 2020/5/3 10:21
 * @Version 1.0
 */
public class CommentMangPageResult extends Page {
    private Long commentId;

    public Long getCommentId() {
        return commentId;
    }

    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }

    private Long blogId;
    private String nickname;
    private String conmentcontent;
    private String avatar;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String location;
    private Long parentCommentId;

    public Long getBlogId() {
        return blogId;
    }

    public void setBlogId(Long blogId) {
        this.blogId = blogId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getConmentcontent() {
        return conmentcontent;
    }

    public void setConmentcontent(String conmentcontent) {
        this.conmentcontent = conmentcontent;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Long getParentCommentId() {
        return parentCommentId;
    }

    public void setParentCommentId(Long parentCommentId) {
        this.parentCommentId = parentCommentId;
    }
}
